package com.atguigu.tingshu.album.client.impl;


import com.atguigu.tingshu.album.client.TrackInfoFeignClient;
import com.atguigu.tingshu.common.result.Result;
import com.atguigu.tingshu.model.album.TrackInfo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Slf4j
public class TrackInfoDegradeFeignClient implements TrackInfoFeignClient {

    @Override
    public Result<List<TrackInfo>> findPaidTrackInfoList(Long trackId, Integer num) {
        log.info("TrackInfoDegradeFeignClient....findPaidTrackInfoList....执行了");
        return Result.fail();
    }
}
